main: Rational_Fraction.o rat.o
	g++ Rational_Fraction.o rat.o -o main

Rational_Fraction.o: Rational_Fraction.cpp rat.h
	g++ -c Rational_Fraction.cpp

rat.o: rat.cpp rat.h
	g++ -c rat.cpp
